﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using System.Xml.Serialization;

namespace DJY.Domain.ViewModel
{
    /// <summary>
    /// 查询参数
    /// </summary>
    public class WFDefQueryInfo
    {
        /// <summary>
        /// 当前登陆用户ID
        /// </summary>
        public string userId { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        public string orgId { get; set; }

        /// <summary>
        /// 是否是系统管理员
        /// </summary>
        public bool isSys { get; set; }

        /// <summary>
        /// 是否用于统计
        /// </summary>
        public bool isStat { get; set; }

        /// <summary>
        /// 流程id
        /// </summary>
    	public string id
        {
            get;
            set;
        }


        /// <summary>
        /// 分类ID
        /// </summary>
        public int? cateId
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 名称
        /// </summary>
    	public string name
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 关键字
        /// </summary>
    	public string keyword
        {
            get;
            set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 最新版本
        /// </summary>
    	public int? version
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 是否是稳定版本
        /// </summary>
        public bool stable
        {
            get;
            set;
        }
        
        /// <summary>
        /// 删除标记
        /// </summary>
    	public bool? fDeleteMark
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 开始新增时间
        /// </summary>
    	public string beginF_CreateTime
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 截至新增时间
        /// </summary>
    	public string endF_CreateTime
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 新增人
        /// </summary>
    	public string fCreateUser
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 开始最后修改时间
        /// </summary>
    	public string beginF_LastUpdateTime
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 截至最后修改时间
        /// </summary>
    	public string endF_LastUpdateTime
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 最后修改人
        /// </summary>
    	public string fLastUpdateUser
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 业务页面
        /// </summary>
    	public string businessUrl
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 审核页面
        /// </summary>
    	public string auditUrl
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 业务模型
        /// </summary>
    	public string modelKey
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 开始发生
        /// </summary>
        public string before
        {
            get;
            set;
        }

        /// <summary>
        /// 结束发生
        /// </summary>
        public string after
        {
            get;
            set;
        }

        /// <summary>
        /// 每页行数
        /// </summary>
        public int rows { get; set; } = 20;
        /// <summary>
        /// 当前页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        /// 排序列
        /// </summary>
        public string sidx { get; set; }
        /// <summary>
        /// 排序类型
        /// </summary>
        public string sord { get; set; } = "desc";
    }
}

